package com.zbkj.common.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 车辆新增对象
 */
@Data
public class VehicleRequest {

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "配送员id")
    @NotNull(message = "配送员id不能为空")
    private Integer deliveryPersonnelId;

    @ApiModelProperty(value = "车牌号")
    @NotBlank(message = "车牌号不能为空")
    private String licensePlateNumber;

    @ApiModelProperty(value = "车辆品牌")
    private String vehicleBrand;

    @ApiModelProperty(value = "车辆类型(1轿车 2货车)")
    private Integer vehicleType;

    @ApiModelProperty(value = "gps编号")
    @NotBlank(message = "gps编号不能为空")
    private String gpsNumber;

    @ApiModelProperty(value = "车辆用途(1配送车辆 2运货车辆)")
    private Integer vehicleUsage;

    @ApiModelProperty(value = "车辆状态")
    private Integer vehicleStatus;

    @ApiModelProperty(value = "备注说明")
    private String remark;
}
